package com.xl.dto;

import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with 徐立.
 *
 * @author 徐立
 * @date 2021-05-04
 * @time 10:53
 * To change this template use File | Settings | File Templates.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
	private Integer id;
	@NotNull(message = "名字不能为空")
	private String name;
	/**
	 * 逗号分割,自动转换为集合
	 */
	private List<Long> ids;
}
